package com.ybg.employee;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {
        "com.ybg.common.entity",
        "com.ybg.common.image",
        "com.ybg.common.mybatis",
        "com.ybg.common.redis",
        "com.ybg.common.xml",
        "com.ybg.common.web",
        "com.ybg.employee"
})
@MapperScan(basePackages = "com.ybg.employee.business.mapper")
public class EmployeeApplication {
    public static void main(String[] args) {
        SpringApplication.run(EmployeeApplication.class,args);
    }
}
